//
// Created by Administrator on 2021/9/27.
//

#ifndef HELLOOPENGL_DRAWABLE_H
#define HELLOOPENGL_DRAWABLE_H
#include "../util/ShaderUtil.h"
#endif //HELLOOPENGL_DRAWABLE_H

class Drawable {
protected:
    const char* shaderName = "default";//默认shader
    Shader shader;
public:
    const char *getShaderName() const;
    void setShaderName(const char *shaderName);

public:
    virtual Shader getShader() = 0;
    virtual void init() = 0;
    virtual void draw() = 0;
};
